﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.MeiTuanPeiSong.Model.Dto.Order
{
    public class PreOrderData
    {
        private long _delivery_id;
        /// <summary>
        /// 配送活动标识
        /// </summary>
        public long delivery_id
        {
            get { return _delivery_id; }
            set { _delivery_id = value; }
        }
         
        /// <summary>
        /// 外部订单id
        /// </summary>
        public string order_id { get; set; }

        private int _delivery_distance;
        /// <summary>
        /// 订单配送距离，单位为米，当前订单计算的配送距离
        /// </summary>
        public int delivery_distance
        {
            get { return _delivery_distance; }
            set { _delivery_distance = value; }
        }

        /// <summary>
        /// 订单配送价格
        /// </summary>
        public double delivery_fee { get; set; }
         
        private double _base_delivery_fee;
        /// <summary>
        /// 优惠可用金额，单位为元；
        /// 使用余额支付时有值；
        /// 总配送费仲可使用优惠券抵扣的部分配送费用，金额受到不同计费因素以及优惠券使用规则影响
        /// </summary>
        public double base_delivery_fee
        {
            get { return _base_delivery_fee; }
            set { _base_delivery_fee = value; }
        }

        /// <summary>
        /// 优惠券ID，
        /// </summary>
        public string coupons_id { get; set; }

        /// <summary>
        /// 优惠券金额，单位为元；
        /// </summary>
        public double coupons_amount { get; set; }
    }
}
